<?php


class sfGuardUserTable extends PluginsfGuardUserTable
{
    
    public static function getInstance()
    {
        return Doctrine_Core::getTable('sfGuardUser');
    }
    
    static public function getAuthorQuery($author_id)
    {
        return sfGuardUserTable::getInstance()
          ->createQuery('u')
          ->select('u.*')
          ->where('u.id = ?', $author_id);
    }
}